package top.melody.ecommerce.platform.api.service;

import top.melody.ecommerce.platform.EcommerceException;
import top.melody.ecommerce.platform.api.domain.account.AccountEnterpriseAuth;

/**
 * @author: blentle
 * @group: rd
 * @createdate: 2016/11/13 11:03
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since:1.0
 */
public interface AccountAuthService {

    AccountEnterpriseAuth getAccountEnterpriseAuth(int accountAuthId) throws EcommerceException;

    AccountEnterpriseAuth getAccountEnterpriseAuthByAccountId(int accountId) throws EcommerceException;

    int getAccountEnterpriseAuthCount(AccountEnterpriseAuth queryEntity) throws EcommerceException;

    AccountEnterpriseAuth createAuthentication(AccountEnterpriseAuth enterprise) throws EcommerceException;
}
